package com.aggregate.pay.pingan.bean;

import com.aggregate.pay.pingan.enums.CheckStatus;
import com.aggregate.pay.pingan.jackson.converter.CheckStatusDeserialize;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * 门店列表接口－响应参数－门店信息
 * @author Moyq5
 * @date 2017年6月29日
 */
public class ShopListResultItem {

	/**
	 * 门店编号，必填，20
	 */
	@JsonProperty("shop_no")
	private String shopNo;
	
	/**
	 * 门店简称，必填，50
	 */
	@JsonProperty("shop_name")
	private String shopName;
	
	/**
	 * 门店全称，必填，50
	 */
	@JsonProperty("shop_full_name")
	private String shopFullName;
	
	/**
	 * 商户编号，必填，20
	 */
	@JsonProperty("mct_no")
	private String merchNo;
	
	/**
	 * 商户名称，必填，50
	 */
	@JsonProperty("mct_name")
	private String merchName;
	
	/**
	 * 品牌名称，必填，50
	 */
	@JsonProperty("brand_name")
	private String brandName;
	
	/**
	 * 省份，必填，30
	 */
	private String province;
	
	/**
	 * 城市，必填，30
	 */
	private String city;
	
	/**
	 * 县/区，必填，30
	 */
	private String county;
	
	/**
	 * 城市编码，必填，6
	 */
	@JsonProperty("cityid")
	private String cityId;
	
	/**
	 * 详细地址，必填，150
	 */
	private String address;
	
	/**
	 * 门店电话，必填，30
	 */
	private String tel;
	
	/**
	 * 添加时间（yyyy-mm-dd hh:ii:ss），必填
	 */
	@JsonProperty("add_time")
	private String addTime;
	
	/**
	 * 更新时间（yyyy-mm-dd hh:ii:ss），必填
	 */
	@JsonProperty("upd_time")
	private String updateTime;
	
	/**
	 * 终端数量，必填，9
	 */
	@JsonProperty("tml_count")
	private Integer terminalCount;
	
	/**
	 * 开通应用数量，必填，9
	 */
	@JsonProperty("app_count")
	private Integer appCount;
	
	/**
	 * 机构编号，9
	 */
	@JsonProperty("agent_no")
	private String agentNo;
	
	/**
	 * 机构名称，50
	 */
	@JsonProperty("agent_name")
	private String agentName;
	
	/**
	 * 机构门店主键，必填，64
	 */
	@JsonProperty("tra_id")
	private String shopId;
	
	/**
	 * 门店负责人，25
	 */
	private String contact;
	
	/**
	 * 负责人手机号码，25
	 */
	@JsonProperty("contact_tel")
	private String contactTel;
	
	/**
	 * 门店状态，必填，1
	 */
	@JsonDeserialize(converter = CheckStatusDeserialize.class)
	private CheckStatus status;
	
	/**
	 * 审核备注，50
	 */
	private String remark;

	public String getShopNo() {
		return shopNo;
	}

	public void setShopNo(String shopNo) {
		this.shopNo = shopNo;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getShopFullName() {
		return shopFullName;
	}

	public void setShopFullName(String shopFullName) {
		this.shopFullName = shopFullName;
	}

	public String getMerchNo() {
		return merchNo;
	}

	public void setMerchNo(String merchNo) {
		this.merchNo = merchNo;
	}

	public String getMerchName() {
		return merchName;
	}

	public void setMerchName(String merchName) {
		this.merchName = merchName;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getTerminalCount() {
		return terminalCount;
	}

	public void setTerminalCount(Integer terminalCount) {
		this.terminalCount = terminalCount;
	}

	public Integer getAppCount() {
		return appCount;
	}

	public void setAppCount(Integer appCount) {
		this.appCount = appCount;
	}

	public String getAgentNo() {
		return agentNo;
	}

	public void setAgentNo(String agentNo) {
		this.agentNo = agentNo;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getContactTel() {
		return contactTel;
	}

	public void setContactTel(String contactTel) {
		this.contactTel = contactTel;
	}

	public CheckStatus getStatus() {
		return status;
	}

	public void setStatus(CheckStatus status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "ShopListResultItem [shopNo=" + shopNo + ", shopName=" + shopName + ", shopFullName=" + shopFullName
				+ ", merchNo=" + merchNo + ", merchName=" + merchName + ", brandName=" + brandName + ", province="
				+ province + ", city=" + city + ", county=" + county + ", cityId=" + cityId + ", address=" + address
				+ ", tel=" + tel + ", addTime=" + addTime + ", updateTime=" + updateTime + ", terminalCount="
				+ terminalCount + ", appCount=" + appCount + ", agentNo=" + agentNo + ", agentName=" + agentName
				+ ", shopId=" + shopId + ", contact=" + contact + ", contactTel=" + contactTel + ", status=" + status
				+ ", remark=" + remark + "]";
	}
	
}
